@mixin pxBorder($color, $border: all) {
  position: relative;

  &:after {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    @if $border == all {
      border: 1px solid $color;
    } @else {
      @each $member in $border {
        border-#{$member}: 1px solid $color;
      }
    }
    width: 200%;
    height: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    @media (-webkit-min-device-pixel-ratio: 2.5) {
      width: 300%;
      height: 300%;
      -webkit-transform: scale(0.33333);
      transform: scale(0.33333);
    }
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    box-sizing: border-box;
  }
}
